package com.woniu.gym.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.core.util.PageInfo;
import com.woniu.gym.dto.QualificationDto;
import com.woniu.gym.dto.RegistryGymDto;
import com.woniu.gym.form.*;
import com.woniu.gym.model.TQualification;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TQualificationService extends IService<TQualification> {

    RegistryGymDto registryGym(RegistryGymForm form);

    TQualification cancelRegistryGym(Integer certifyId);

    TQualification adminApproveGym(AdminApproveGymForm form);

    TQualification modifyRegistryGym(ModifyRegistryGymForm form);

    PageInfo<QualificationDto> adminFindAllApply(AdminFindAllApplyForm form);

    PageInfo<QualificationDto> gymFindApplyById(GymFindApplyByIdForm form);
}
